package com.gun.management.module.raffle.controller.app.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "app - 用户中奖信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppLotteryPrizeRetVO {


    @Schema(description = "中奖记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20566")
    @ExcelProperty("中奖记录id")
    private Long lotteryLogId;

    @Schema(description = "奖品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20566")
    @ExcelProperty("奖品id")
    private Long prizeId;

    @Schema(description = "产品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12")
    @ExcelProperty("productId")
    private Long productId;

    @Schema(description = "skuId", requiredMode = Schema.RequiredMode.REQUIRED, example = "1009")
    @ExcelProperty("skuId")
    private Long skuId;


    @Schema(description = "奖品类别", example = "21")
    private Integer prizeCategory;

    /**
     * 奖品名称
     */
    @TableField(exist = false)
    @Schema(description = "奖品名称", example = "键盘")
    @ExcelProperty("奖品名称")
    private String name;

    /**
     * 头像
     */
    @Schema(description = "奖品头像", example = "http://www.***.com/images/prize.png")
    @ExcelProperty("奖品头像")
    private String avatar;

    /**
     * 奖品名称
     */
    @TableField(exist = false)
    @Schema(description = "提示语", example = "喜得键盘一枚")
    @ExcelProperty("提示语")
    private String prompt;

    @Schema(description = "sku", example = "红色")
    @ExcelProperty("sku")
    private String sku;

}